package com.ks.dao;

import java.util.List;

import com.ks.entity.User;

public interface UserDao extends BaseDao<User> {

	User selectOneUser(String username);

	List<User> selectAllUser();
	
	List<User> selectUserByCondition(Object[] condition);

	int selectCount();
	
	int insertOneUser(User user);
	
	int updateOneUser(User user);
	
	int deleteOneUser(String username);

}
